{
  "targets": [
    {
      "target_name": "addon",
      "sources": [ "addon.cc" ],
      "include_dirs": [
        "<!@(node -p \\"require('node-addon-api').include\\")",
        "<!@(node -p \\"require('node-addon-api').src\\")"
      ],
      "cflags_cc!": [ "/EHsc" ],
      "cflags_cc": [ "/std:c++latest" ],
      "conditions": [
        ["OS=='win'", {
          "msvs_settings": {
            "VCCLCompilerTool": {
              "AdditionalOptions": [ "/TP" ]
            }
          }
        }]
      ]
    }
  ]
}
